package com.lichuang.fruitvarietysm.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lichuang.fruitvarietysm.order.entity.UserOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author shuaihang
 * @since 2019-06-17
 */
public interface UserOrderMapper extends BaseMapper<UserOrder> {

    /**
     * 分页查询订单
     * @param page
     * @param order
     * @return
     */
    IPage<UserOrder> getOrder(Page page,@Param("order") UserOrder order);
}
